$(function() {
//knockout绑定
		var ViewModel = function() {};
		var viewmodel = new ViewModel();
		viewmodel.datas = ko.observableArray(jsonArray);
		ko.applyBindings(viewmodel);

		$('.um-back').click(function(){
			summer.closeWin();
		});
});

var jsonArray = [{
	"row": [{
		"img": "../../img/order2.png",
		"saleorderno": "B1SYSO2016100300306",
		"dbilldate": "2016-02-08 17:30:09",
		"sendstockorgname": "库存组织1",
		"customername": "福建省南安市恒昌贸易有限公司",
		"materialname": "物料1",
		"ordernumtitle": "总量：",
		"ordernum": 120,
		"ordernummeasure": "吨",
		"remainnumtitle": "余量：",
		"remainnum": 5,
		"remainnummeasure": "吨"
	}, {
		"img": "../../img/order2.png",
		"saleorderno": "B1SYSO2016100300307",
		"dbilldate": "2016-02-08 17:30:09",
		"sendstockorgname": "库存组织2",
		"customername": "福建省南安市恒昌贸易有限公司",
		"materialname": "物料2",
		"remainnumtitle": "余量：",
		"ordernumtitle": "总量：",
		"ordernum": 121,
		"ordernummeasure": "吨",
		"remainnumtitle": "余量：",
		"remainnum": 6,
		"remainnummeasure": "吨"
	}, {
		"img": "../../img/order2.png",
		"saleorderno": "B1SYSO2016100300308",
		"dbilldate": "2016-02-08 17:30:09",
		"sendstockorgname": "库存组织3",
		"customername": "福建省南安市恒昌贸易有限公司",
		"materialname": "物料3",
		"ordernumtitle": "总量：",
		"ordernum": 122,
		"ordernummeasure": "吨",
		"remainnumtitle": "余量：",
		"remainnum": 7,
		"remainnummeasure": "吨"
	}]
}];